projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5293b43
)
(c-indent-line): Call c-backward-to-start-of-if
author
Richard M. Stallman
<rms@gnu.org>
Sun, 13 Jun 1993 19:16:02 +0000
(19:16 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sun, 13 Jun 1993 19:16:02 +0000
(19:16 +0000)
in the case of else following a close brace.
lisp/progmodes/c-mode.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/c-mode.el
b/lisp/progmodes/c-mode.el
index 8c32229a2996e4a8af6f37865fa77bf924ab450a..198e430f60a136d2be2bd582cd2cf7384c7e6755 100644
(file)
--- a/
lisp/progmodes/c-mode.el
+++ b/
lisp/progmodes/c-mode.el
@@
-544,6
+544,7
@@
Return the amount the indentation changed by."
(setq indent (save-excursion
(forward-char)
(backward-sexp)
+ (c-backward-to-start-of-if)
(current-indentation))))
((and (looking-at "while\\b")
(save-excursion